-
Notifications
You must be signed in to change notification settings - Fork 735
Fix #6182: Add Google Batch LogsPolicy PATH option for GCS bucket log… #6431
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
✅ Deploy Preview for nextflow-docs-staging canceled.
|
be1236d
to
71f6f4a
Compare
… bucket log storage - Add logsBucket configuration option to BatchConfig - Support both CLOUD_LOGGING (default) and PATH log destinations - Add validation for GCS bucket paths (must start with gs://) - Include comprehensive tests for new functionality - Maintain backward compatibility 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]> Signed-off-by: David Glazer <[email protected]>
71f6f4a
to
1371aa6
Compare
- Add helper methods to extract bucket names and convert GCS paths to mount paths - Ensure logs bucket is mounted as Volume in GoogleBatchScriptLauncher - Update LogsPolicy to use container mount paths instead of GCS paths - Add comprehensive tests for bucket mounting and path conversion - Addresses reviewer feedback about missing bucket mounting requirements This ensures Google Batch can write logs to the specified GCS bucket by properly mounting it before referencing it in the LogsPolicy PATH. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]> Signed-off-by: Emma Rogge <[email protected]>
1. Rename variable due to existing variable with same name. 2. Specify parameter type as string. Signed-off-by: Emma Rogge <[email protected]>
1371aa6
to
b105b0e
Compare
@bentsherman I had a quick chat with @dglazer, this PR is ready for review (sounds like marking the PR as not draft can only be done by someone with write access? idk) |
@dglazer thanks for the contribution. What's the benefit of being able to send logs to a bucket instead of the standard cloud logging? |
Thanks for taking a look @bentsherman . The short answer is that it lets us provide a unified management experience to researchers, with the same ACLs controlling access to workflow inputs, outputs, and logs, and without them having to be familiar with GCP-native logging tools. @emmarogge can provide more details if needed. |
… storage
🤖 Generated with Claude Code
NOTE: this change still needs human review.
Signed-off-by: David Glazer [email protected]